What is the meaning of the word "reaction formation"?

Definitions:

  1. in psychiatry, a defense mechanism in which a person unconsciously develops attitudes and behavior that are the opposite of unacceptable repressed desires and impulses and serve to conceal them copy to clipboard noun
    • Homophobia is often a reaction formation to hide people's unacknowledged desires. copy to clipboard